using System;
using System.Text;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using AjaxControlToolkit;

namespace AjaxControlToolkit.Models.MSTest
{
	
    public partial class ClientCssResourceAttributeTests
    {


        
        [TestMethod]
        public void ClientCssResourceAttributeTests_Property_LoadOrder_PropertyAssigned ()
        {
            var objectUnderTest = CreateObject();
            System.Int32 expectedValue;
        
            
            try
            {
                expectedValue = Int32.MinValue;
                objectUnderTest.LoadOrder = expectedValue;
                Assert.AreEqual(expectedValue, objectUnderTest.LoadOrder);;
            }
            catch (ArgumentException)
            {
                //OK
                return;
            }
            
            
            try
            {
                expectedValue = (System.Int32)(-1);
                objectUnderTest.LoadOrder = expectedValue;
                Assert.AreEqual(expectedValue, objectUnderTest.LoadOrder);;
            }
            catch (ArgumentException)
            {
                //OK
                return;
            }
            
            
            try
            {
                expectedValue = (System.Int32)0;
                objectUnderTest.LoadOrder = expectedValue;
                Assert.AreEqual(expectedValue, objectUnderTest.LoadOrder);;
            }
            catch (ArgumentException)
            {
                //OK
                return;
            }
            
            
            try
            {
                expectedValue = (System.Int32)1;
                objectUnderTest.LoadOrder = expectedValue;
                Assert.AreEqual(expectedValue, objectUnderTest.LoadOrder);;
            }
            catch (ArgumentException)
            {
                //OK
                return;
            }
            
            
            try
            {
                expectedValue = Int32.MaxValue;
                objectUnderTest.LoadOrder = expectedValue;
                Assert.AreEqual(expectedValue, objectUnderTest.LoadOrder);;
            }
            catch (ArgumentException)
            {
                //OK
                return;
            }
            
        
        }    
        
    }
}

